﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="news_msn_Default" ViewStateMode="Disabled" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="../../css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div class="button_bar">
        <asp:Button ID="btnQuery" runat="server" Text="查询" CssClass="common_button" 
            onclick="btnQuery_Click" />
        <asp:Button ID="btnDisplayAll" runat="server" Text="显示全部" 
            CssClass="common_button" Width="100px" onclick="btnDisplayAll_Click" />
     </div>
        <table class="query_form_table">
        <tr>
            <th>
                股票代码(名称) 
            </th>
            <td>
                <asp:TextBox ID="txtStock" runat="server" />
            </td>
            <td>
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
 
    
    </table>
    <div>
        <table class="data_list_table">
            <tr>
                <th>
                    股票代码
                </th>
                <th>
                    股票名称
                </th>
                <th>
                    时间
                </th>
                <th>
                    打开报表
                </th>
                <th>
                    经营综述填写
                </th>
                <th>
                    经营范围填写
                </th>
                <th>
                    设置经营综述已填写
                </th>
                <th>
                    设置经营范围已填写
                </th>
            </tr>
            <asp:Repeater ID="repeater1" runat="server">
                <ItemTemplate>
                    <tr>
                        <td>
                            <%#Eval("Stock") %>
                        </td>
                        <td>
                            <%#Eval("StockName") %>
                        </td>
                        <td>
                            <%# Eval("EndDate") %>
                        </td>
                        <td>
                            <a target="_blank" href='DisplayContent.aspx?stock=<%# Eval("Stock") %>&EndDate=<%#Eval("EndDate","{0:yyyy-MM-dd}") %>'>
                                打开报表</a>
                        </td>
                        <td>
                            <a target="_blank" href='BussinessProfile.aspx?stock=<%#Eval("Stock") %>&EndDate=<%# Eval("EndDate","{0:yyyy-MM-dd}") %>' target="_blank">
                             经营综述填写</a>
                        </td>
                        <td>
                            <a target="_blank" href="BussinessProfileList.aspx?stock=<%# Eval("Stock") %>&EndDate=<%# Eval("EndDate","{0:yyyy-MM-dd}") %>">
                                经营范围填写
                            </a>
                        </td>
                        <td>
                            <%# GetUpdateBussinessProfileStateStr(GetDataItem()) %>
                        </td>
                        <td>
                            <%# GetUpdateBussinessProfileListStateStr(GetDataItem()) %>
                        </td>
                    </tr>
                </ItemTemplate>
            </asp:Repeater>
        </table>
    </div>
    </form>
</body>
</html>
